/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package shareit;

import java.lang.String;

/**
 * @author pat
 */
public class Customer {
	private int customerID;
	/*
	 * classy: 0 = customer, 1 = depotStaff, 2 = officeStaff
	 */
	private int classy;
	private int membershipExpiry;
	private int hoursLeft;
	private String address;
	private String phone;
	private String paymentInfo;
	private String name;

	public Customer(int customerID, int membershipExpiry, int hoursLeft,
			String address, String phone, String paymentInfo, String name, 
				int classy){
		this.customerID = customerID;
		this.membershipExpiry = membershipExpiry;
		this.hoursLeft = hoursLeft;
		this.address = address;
		this.phone = phone;
		this.paymentInfo = paymentInfo;
		this.name = name;
		this.classy = classy;
	}

	public int getExpiryDate(Customer customer){
		/*
		 * TODO
		 */
		return customer.membershipExpiry;
	}

	public int calculateHoursLeft(Customer customer){
		/*
		 * TODO
		 */
		return customer.hoursLeft;
	}

	public int getClassy(Customer customer){
		return customer.classy;
	}

	public Customer getCustomer(int customerID){
		/*
		 * TODO
		 */
		return null;
	}
}
